#include "RayTracingMath.h"
#include "Render//VulkanRHI.h"
#include "Utils/FileUtil.h"
#include "Core/CoreGlobals.h"

float HaltonSequence(int base, int index)
{
	float result = 0;
	float f = 1;
	while (index > 0)
	{
		f /= base;
		result += f * (index % base);
		index = glm::floor(index / base);
	}

	return result;
}
